package com.furnitur.modules.admin.service.merchant;

import com.furnitur.core.entity.user.Merchant;
import com.furnitur.modules.admin.dto.auth.PasswordUpdateDTO;
import com.furnitur.modules.admin.dto.merchant.MerchantUpdateDTO;
import com.furnitur.modules.admin.dto.merchant.MerchantVO;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

public interface MerchantService {
    Merchant getCurrentMerchantInfo();
    void updateMerchantInfo(Merchant merchant);
    Merchant getMerchantById(Long id);
    Merchant getMerchantByUserId(Long userId);
    void updatePassword(PasswordUpdateDTO dto);
    MerchantVO getMerchantProfile();
    void updateMerchantProfile(MerchantUpdateDTO dto);
    void updateStatus(Long id, Integer status);
    Page<Merchant> list(Integer pageNum, Integer pageSize);
    void delete(Long id);
} 